﻿using Grow.Module.Builder;
using Grow.Module.Options;
using Grow.Module.Service;
using Microsoft.Extensions.DependencyInjection;

namespace Grow.AspNetCore.Service
{
    public class ServiceContainer : IServiceContainer
    {
        public ServiceContainer(IServiceCollection serviceCollection,
           IOptionsManager optionsManager,
           IBuilderManager builderManager
           )
        {
            ServiceCollection = serviceCollection;
            OptionsManager = optionsManager;
            BuilderManager = builderManager;
        }

        public IServiceCollection ServiceCollection { get; }

        public IOptionsManager OptionsManager { get; }

        public IBuilderManager BuilderManager { get; }
    }
}
